package com.zh.file.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;

import com.zh.core.common.bean.AbsBaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统业务中,各个环节产生的附件信息,统一管理
 * </p>
 *
 * @author 张行
 * @since 2020-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysAttachment对象", description="系统业务中,各个环节产生的附件信息,统一管理")
public class SysAttachment extends AbsBaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务id")
    @ExcelProperty(value = {"业务id"}, index = 2)
    private Long taskId;

    @ApiModelProperty(value = "业务结点")
    @ExcelProperty(value = {"业务结点"}, index = 3)
    private String taskName;

    @ApiModelProperty(value = "业务结点_编码")
    @ExcelProperty(value = {"业务结点_编码"}, index = 4)
    private String taskNameCode;

    @ApiModelProperty(value = "附件类型")
    @ExcelProperty(value = {"附件类型"}, index = 5)
    private String fileType;

    @ApiModelProperty(value = "附件类型_编码")
    @ExcelProperty(value = {"附件类型_编码"}, index = 6)
    private String fileTypeCode;

    @ApiModelProperty(value = "版本")
    @ExcelProperty(value = {"版本"}, index = 7)
    private Integer verNo;

    @ApiModelProperty(value = "流程实例id")
    @ExcelProperty(value = {"流程实例id"}, index = 8)
    private String workFlowId;

    @ApiModelProperty(value = "流程引擎")
    private String workFlowEngine;

    @ApiModelProperty(value = "流程引擎编码")
    private String workFlowEngineCode;

    @ApiModelProperty(value = "是否有效")
    private Integer isEffective;

    @ApiModelProperty(value = "排序号")
    private Integer sortNo;

    @ApiModelProperty(value = "附件id")
    private String appendixId;
}
